package com.example.room.mapper;

import com.example.model.room.Room;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomMapper {

    Room get(Long id);

    List<Room> list(Room room);

    Room getByRoomNo(String roomNo);

    int listCountByRoomNo(String roomNo);
    int insert(Room room);

    int update(Room room);

    int delete(Long id);


}
